<template>
    <div>
        <h3>{{$store.state.count}}</h3>

        <h3>全局的计算属性,只能是计算state</h3>
        

        <h3>子状态: {{$store.state.num1.count}}</h3>
        <h3>子状态: {{$store.state.num2.count}}</h3>
    </div>
</template>
<script>
export default {
    
}
</script>